#pragma once
#include "Sketch/Action/QSketchCurveAction.h"
class QSketchRectangleAction : public QSketchCurveAction
{
public:
	QSketchRectangleAction(QSketchManager* parent, MainWindow* mainWindow);
	~QSketchRectangleAction();

	virtual void StartCreate() override;
	virtual void OnMouseMove(const gp_Pnt& point) override;
	virtual void OnLeftDown(const gp_Pnt& point) override;
	virtual void Reset() override;

protected:
	gp_Pnt m_firstPoint;
    gp_Pnt m_secondPoint;
	bool bIsFirstConfirm = false;

	uint8_t m_firstPointActorID = 255;
};

